package com.example.as.config;

public class ContextHolder {
    public static ThreadLocal<Long> context = new ThreadLocal<>();

    public static void setMobile(Long uname){
        context.set(uname);
    }

    public static Long getMobile() {
        return context.get();
    }

    public static void shutdown(){
        context.remove();
    }
}
